#ifndef LINEARFILTER_H
#define LINEARFILTER_H

#include "filter.h"

class LinearFilter : public Filter
{
    Q_OBJECT

public:
    LinearFilter(int size);

    QImage doFiltering(const QImage &image);
    void setSize(int size);
    double kernel(int i, int j);
};

#endif
